

    form1.onsubmit = function(evt){
        alert(555);
        evt.preventDefault();
        
        var username_ = username.value;

        var password_= password.value;
        // console.log(666)

        if(username_!=null&&password_!=null){

            setCookie("username",username_,7);
            setCookie("password",password_,7);
            window.location.href="login2.html";

        }
       
    }